// components/List/List.js
Component({
  properties: {
    list: {
      type: Array,
      default: [],
    },
    showDesc: {
      type: Boolean,
      default: true,
    },
  },
  data: {},
  methods: {
    goto(e){
      // console.log(e,"111")
      let {id}=e.currentTarget;
      this.triggerEvent("goto",id)
    }
  },
});
